package com.ruoyi.system.api.req;

import com.ruoyi.common.core.domain.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value="SysUserAddressReq对象", description="用户收货地址入参")
public class SysUserAddressReq extends BaseQuery implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "收货人姓名")
    private String name;

    @ApiModelProperty(value = "收货人电话")
    private String phone;

    @ApiModelProperty(value = "收货详细地址")
    private String address;

    @ApiModelProperty(value = "是否默认地址")
    private int isfirst;
}
